/******************************************************************************
 * FILE NAME:
 *  syslog_main.h.h
 *
 * DESCRIPTION:
 * This file contains initial for syslog program.
 *
 *
 * DESIGN REFERENCE:
 *
 *
 * REVISION HISTORY   :
 * Date            Author               REASON
 * 09.15.2013      Thuan Nguyen         Creation
 *
 * Copyright 2005, NET
 * ***************************************************************************/


#ifndef SYSLOG_MAIN_H_
#define SYSLOG_MAIN_H_


#include<stdio.h>
#include<signal.h>
#include<sys/wait.h>
#include<unistd.h>
#include<sys/types.h>
#include"../../common/h/common_def.h"
#include"../../common/h/logging.h"
#define COMMAND_SIZE 300

#define XML_ELEMENT_OAM_CONFIG ""
#define XML_ELEMENT_OAM_TRANSPORT ""
#define XML_ELEMENT_OAM_CONTENT ""
#define XML_ELEMENT_OAM_APPLICATION ""
#define XML_ELEMENT_OAM_COMMON ""
#define XML_ELEMENT_OAM_LOG_LEVEL ""


typedef struct {
	U8 info;
	U8 warning;
	U8 error;
	U8 debug;
	U8 detail;
}configuration_log_level_t;

typedef struct {
	U32 trs_log_level; /*transport log level*/
	U32 app_log_level; /*application log level*/
	U32 cnt_log_level; /*content log level*/
	U32 oam_log_level; /*oam log level*/

}configuration_data_t;



U32 oam_create_app_process_func();
U32 oam_create_content_process_func();
U32 oam_create_trs_process_func();
void oam_mgmt_handle_func();
void oam_mgmt_init();
U32 main(U32 argc,U8 **argv);

#endif /* SYSLOG_MAIN_H_ */
